-
Notifications
You must be signed in to change notification settings - Fork 2
Part1 practice eucha #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ch09에서 수정하면 충돌날 수 있으니까 빼는 게 좋을듯
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ch09에서 수정하면 충돌날 수 있으니까 이것까지 빼는 게 좋을듯
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| for i in range(len(word)-1, -1, -1): | |
| alp_value[ord(word[i]) - ord('A')] += place_value | |
| for x in word[::-1]: | |
| alp_value[ord(x) - ord('A')] += place_value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
우리 struct 이름 첫 글자는 대문자로 하기로 했었나?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
나는 뭔가 for voted_number in voted_number_list가 더 나아보이는듯?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😲
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이런건 괜찮나?
| def how_many_pass(given_time, time_per_pass): | |
| count = 0 | |
| for t in time_per_pass: | |
| count += given_time // t | |
| return count | |
| def how_many_pass(given_time, time_per_pass): | |
| return sum(given_time // t for t in time_per_pass) |
No description provided.